/**
 * @FileName Memento.java
 * @Package com.designMode.memento
 * -------------------------------------
 * @function Please write description of function
 * @Date 2016-1-19 上午10:36:19
 * -------------------------------------
 * Copyright (c) 2016,顾博君 All Rights Reserved.
 */
package com.designMode.memento;

/**
 * @author 顾博君
 * @ClassName Memento
 * @Date 2016-1-19 上午10:36:19
 * @Function 备忘录角色
 */
public class Memento {
    /**
     * 备忘录状态
     */
    private String state = "";

    public Memento(String _state) {
        this.state = _state;
    }

    /**
     * 获取状态
     *
     * @return 状态
     */
    public String getState() {
        return state;
    }

    /**
     * 设置状态
     *
     * @param state 状态
     */
    public void setState(String state) {
        this.state = state;
    }
}
